<?

echo '<img src="/graph.php?device='.$device->id.'&type=pingTimes&width=800&height=50"/>';